#ifndef STAMP_CLASSIFIER_H__CMU_
#define STAMP_CLASSIFIER_H__CMU_

#include "resample_classifier.h"

#define STAMP_CLASSIFIER "stamp"

class stamp_classifier : public resample_classifier {
	int dim;
	double threshold;
	int direction;

public :
	virtual double test(boosting_node * x);
	virtual void load(string filename);
	virtual void dump(string filename);
	virtual string get_type() {return STAMP_CLASSIFIER;}

protected :
	virtual void train(boosting_problem & prob, int argc, char ** argv);
};

#endif